package org.dromara.system.domain.bo;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import org.dromara.system.domain.ServiceItemDept;

/**
 * 服务项目关联部门业务对象 service_item_dept
 *
 * @author 毛宁川
 * @date 2025-07-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = ServiceItemDept.class, reverseConvertGenerate = false)
public class ServiceItemDeptBo extends BaseEntity {

    /**
     * 服务内容关联人才ID
     */
    private Long serviceItemDeptId;

    /**
     * 服务项目ID
     */
    @NotNull(message = "服务项目ID不能为空", groups = { EditGroup.class })
    private Long serviceItemId;

    /**
     * 服务单位名称
     */
    private String deptName;

    /**
     * 服务单位ID
     */
    @NotNull(message = "服务单位ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long deptId;


}
